MailPoet\Entities\NewsletterEntity B

Total Complexity 85
Dependencies 13
Dependents 106
Total lines 589
Lines of code 241
Logical lines of code 132
Comment lines 208
Methods 52
Properties 19

Methods 52

Method Rating Maintainability Complexity Lines of code
setStatus()
A
52 13 22
getFilterSegmentId()
S
62 4 11
getOption()
S
67 4 7
getOptionsAsArray()
S
63 3 11
getProcessedAt()
S
63 3 11
getSegmentIds()
S
68 3 7
getLastUpdatedQueue()
S
69 2 6
getOptionValue()
S
75 2 4
__get()
S
67 2 7
getLatestQueue()
S
69 2 6
getCampaignNameOrSubject()
S
76 2 4
getContent()
S
74 2 4
getWpPostId()
S
75 2 4
getCampaignName()
S
69 2 7
getGlobalStyle()
S
68 2 7
getNewsletterSegments()
S
82 1 3
getChildren()
S
82 1 3
setParent()
S
81 1 3
getParent()
S
77 1 4
getQueues()
S
82 1 3
getOptions()
S
82 1 3
getUnfinishedQueues()
S
70 1 6
canBeSetSent()
S
78 1 3
getWpPost()
S
77 1 4
setWpPost()
S
81 1 3
setUnsubscribeToken()
S
81 1 3
__construct()
S
71 1 6
setGaCampaign()
S
81 1 3
setSenderName()
S
81 1 3
__clone()
S
69 1 7
getHash()
S
82 1 3
setHash()
S
81 1 3
getSubject()
S
82 1 3
setSubject()
S
81 1 3
getType()
S
82 1 3
setType()
S
81 1 3
getSenderAddress()
S
82 1 3
setSenderAddress()
S
81 1 3
getSenderName()
S
82 1 3
getStatus()
S
82 1 3
getUnsubscribeToken()
S
82 1 3
getReplyToAddress()
S
82 1 3
setReplyToAddress()
S
81 1 3
getReplyToName()
S
82 1 3
setReplyToName()
S
81 1 3
getPreheader()
S
82 1 3
setPreheader()
S
81 1 3
getBody()
S
82 1 3
setBody()
S
81 1 3
getSentAt()
S
82 1 3
setSentAt()
S
81 1 3
getGaCampaign()
S
82 1 3